package com.dragon.modules.yuegou.query.member;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dragon.modules.yuegou.entity.member.TemplateGradeParamEntity;
import com.dragon.modules.yuegou.enums.member.TemplateGradeParamParamType;
import com.dragon.modules.yuegou.enums.member.TemplateGradeParamTimeAccuracy;
import com.dragon.modules.yuegou.mybatis.Condition;
import com.dragon.modules.yuegou.mybatis.Query;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.jackson.annotation.JsonUnwrapped;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 会员卡等级条件参数表 动态查询条件
 * 
 * @author pbuilder generated
 * @date 2022-03-02 15:17:41
 * @version 2.0
 */
@JsonInclude(Include.NON_NULL)
public class TemplateGradeParamQuery extends TemplateGradeParamEntity implements Query<TemplateGradeParamEntity> {

    /** 主键查询条件 */
	@JsonUnwrapped(prefix = "id")
	private Condition<String> idCondition;

    /** 前端页面设置id查询条件 */
	@JsonUnwrapped(prefix = "paramId")
	private Condition<String> paramIdCondition;

    /** 商圈id查询条件 */
	@JsonUnwrapped(prefix = "busdId")
	private Condition<String> busdIdCondition;

    /** 会员卡模板设置id查询条件 */
	@JsonUnwrapped(prefix = "templateSetId")
	private Condition<String> templateSetIdCondition;

    /** 会员卡等级设置id查询条件 */
	@JsonUnwrapped(prefix = "templateGradeId")
	private Condition<String> templateGradeIdCondition;

    /** [枚举]等级条件：1-线上消费金额-ONLINE_MONEY、2-最近消费次数-CONSUME_TIMES、3-线下积分-OFFLINE_SCORE、4-线下消费金额-OFFLINE_MONEY、5-线下最近消费次数-OFFLINE_TIMES、6-线上积分-ONLINE_SCORE查询条件 */
	@JsonUnwrapped(prefix = "paramType")
	private Condition<TemplateGradeParamParamType> paramTypeCondition;

    /** 累计金额/次数/积分查询条件 */
	@JsonUnwrapped(prefix = "amount")
	private Condition<BigDecimal> amountCondition;

    /** [枚举]时间精度：0-累计-ALL、1-年-YEAR、2-月-MONTH、3-日-DAY查询条件 */
	@JsonUnwrapped(prefix = "timeAccuracy")
	private Condition<TemplateGradeParamTimeAccuracy> timeAccuracyCondition;

    /** 时间大小查询条件 */
	@JsonUnwrapped(prefix = "timeSize")
	private Condition<Integer> timeSizeCondition;

    /** 名称查询条件 */
	@JsonUnwrapped(prefix = "name")
	private Condition<String> nameCondition;

    /** 创建人id查询条件 */
	@JsonUnwrapped(prefix = "createdBy")
	private Condition<String> createdByCondition;

    /** 创建人查询条件 */
	@JsonUnwrapped(prefix = "createdName")
	private Condition<String> createdNameCondition;

    /** 创建时间查询条件 */
	@JsonUnwrapped(prefix = "createdTime")
	private Condition<LocalDateTime> createdTimeCondition;

    /** 修改人id查询条件 */
	@JsonUnwrapped(prefix = "modifyBy")
	private Condition<Long> modifyByCondition;

    /** 修改人查询条件 */
	@JsonUnwrapped(prefix = "modifyName")
	private Condition<String> modifyNameCondition;

    /** 修改时间查询条件 */
	@JsonUnwrapped(prefix = "modifyTime")
	private Condition<LocalDateTime> modifyTimeCondition;

    /** 是否删除：0-false-未删除、1-true-已删除查询条件 */
	@JsonUnwrapped(prefix = "del")
	private Condition<Integer> delCondition;

    /** 删除人ID查询条件 */
	@JsonUnwrapped(prefix = "delBy")
	private Condition<String> delByCondition;

    /** 删除时间查询条件 */
	@JsonUnwrapped(prefix = "delTime")
	private Condition<LocalDateTime> delTimeCondition;

	/**
	 * 构造一个查询条件对象
	 */
	public TemplateGradeParamQuery() {
		super();
	}

	/**
	 * 依据实体对象构造一个查询条件对象
	 * 
	 * @param entity 实体对象
	 */
	public TemplateGradeParamQuery(TemplateGradeParamEntity entity) {
		super(entity);
	}

	/**
	 * 依据其它查询条件对象的信息构造一个查询条件对象
	 * 
	 * @param other 查询条件对象
	 */
	public TemplateGradeParamQuery(TemplateGradeParamQuery other) {
		super(other);
		if(other.idCondition != null) {
			this.idCondition = other.idCondition.copy();
		}
		if(other.paramIdCondition != null) {
			this.paramIdCondition = other.paramIdCondition.copy();
		}
		if(other.busdIdCondition != null) {
			this.busdIdCondition = other.busdIdCondition.copy();
		}
		if(other.templateSetIdCondition != null) {
			this.templateSetIdCondition = other.templateSetIdCondition.copy();
		}
		if(other.templateGradeIdCondition != null) {
			this.templateGradeIdCondition = other.templateGradeIdCondition.copy();
		}
		if(other.paramTypeCondition != null) {
			this.paramTypeCondition = other.paramTypeCondition.copy();
		}
		if(other.amountCondition != null) {
			this.amountCondition = other.amountCondition.copy();
		}
		if(other.timeAccuracyCondition != null) {
			this.timeAccuracyCondition = other.timeAccuracyCondition.copy();
		}
		if(other.timeSizeCondition != null) {
			this.timeSizeCondition = other.timeSizeCondition.copy();
		}
		if(other.nameCondition != null) {
			this.nameCondition = other.nameCondition.copy();
		}
		if(other.createdByCondition != null) {
			this.createdByCondition = other.createdByCondition.copy();
		}
		if(other.createdNameCondition != null) {
			this.createdNameCondition = other.createdNameCondition.copy();
		}
		if(other.createdTimeCondition != null) {
			this.createdTimeCondition = other.createdTimeCondition.copy();
		}
		if(other.modifyByCondition != null) {
			this.modifyByCondition = other.modifyByCondition.copy();
		}
		this.setOther(other);
	}

	private void setOther(TemplateGradeParamQuery other){
		if(other.modifyNameCondition != null) {
			this.modifyNameCondition = other.modifyNameCondition.copy();
		}
		if(other.modifyTimeCondition != null) {
			this.modifyTimeCondition = other.modifyTimeCondition.copy();
		}
		if(other.delCondition != null) {
			this.delCondition = other.delCondition.copy();
		}
		if(other.delByCondition != null) {
			this.delByCondition = other.delByCondition.copy();
		}
		if(other.delTimeCondition != null) {
			this.delTimeCondition = other.delTimeCondition.copy();
		}
	}

	@Override
	public QueryWrapper<TemplateGradeParamEntity> toQueryWrapper() {
		QueryWrapper<TemplateGradeParamEntity> wrapper = new QueryWrapper<>(this);
		if (idCondition != null) {
			idCondition.toWrapper(wrapper, COL_ID);
		}
		if (paramIdCondition != null) {
			paramIdCondition.toWrapper(wrapper, COL_PARAM_ID);
		}
		if (busdIdCondition != null) {
			busdIdCondition.toWrapper(wrapper, COL_BUSD_ID);
		}
		if (templateSetIdCondition != null) {
			templateSetIdCondition.toWrapper(wrapper, COL_TEMPLATE_SET_ID);
		}
		if (templateGradeIdCondition != null) {
			templateGradeIdCondition.toWrapper(wrapper, COL_TEMPLATE_GRADE_ID);
		}
		if (paramTypeCondition != null) {
			paramTypeCondition.toWrapper(wrapper, COL_PARAM_TYPE);
		}
		if (amountCondition != null) {
			amountCondition.toWrapper(wrapper, COL_AMOUNT);
		}
		if (timeAccuracyCondition != null) {
			timeAccuracyCondition.toWrapper(wrapper, COL_TIME_ACCURACY);
		}
		if (timeSizeCondition != null) {
			timeSizeCondition.toWrapper(wrapper, COL_TIME_SIZE);
		}
		if (nameCondition != null) {
			nameCondition.toWrapper(wrapper, COL_NAME);
		}
		if (createdByCondition != null) {
			createdByCondition.toWrapper(wrapper, COL_CREATED_BY);
		}
		if (createdNameCondition != null) {
			createdNameCondition.toWrapper(wrapper, COL_CREATED_NAME);
		}
		if (createdTimeCondition != null) {
			createdTimeCondition.toWrapper(wrapper, COL_CREATED_TIME);
		}
		if (modifyByCondition != null) {
			modifyByCondition.toWrapper(wrapper, COL_MODIFY_BY);
		}
		return getQueryWrapper(wrapper);
	}

	private QueryWrapper<TemplateGradeParamEntity> getQueryWrapper(QueryWrapper<TemplateGradeParamEntity> wrapper){

		if (modifyNameCondition != null) {
			modifyNameCondition.toWrapper(wrapper, COL_MODIFY_NAME);
		}
		if (modifyTimeCondition != null) {
			modifyTimeCondition.toWrapper(wrapper, COL_MODIFY_TIME);
		}
		if (delCondition != null) {
			delCondition.toWrapper(wrapper, COL_DEL);
		}
		if (delByCondition != null) {
			delByCondition.toWrapper(wrapper, COL_DEL_BY);
		}
		if (delTimeCondition != null) {
			delTimeCondition.toWrapper(wrapper, COL_DEL_TIME);
		}
		return wrapper;
	}
	
	/**
	 * 构造并返回主键查询条件
	 * 
	 * @return idCondition 主键查询条件
	 */
	public Condition<String> id() {
		this.idCondition = new Condition<>();
		return this.idCondition;
	}
	
	/**
	 * 获取主键查询条件
	 * 
	 * @return idCondition 主键查询条件
	 */
	public Condition<String> getIdCondition() {
		return idCondition;
	}

	/**
	 * 设置主键查询条件
	 * 
	 * @param idCondition 主键查询条件
	 */
	public void setIdCondition(Condition<String> idCondition) {
		this.idCondition = idCondition;
	}

	/**
	 * 构造并返回前端页面设置id查询条件
	 * 
	 * @return paramIdCondition 前端页面设置id查询条件
	 */
	public Condition<String> paramId() {
		this.paramIdCondition = new Condition<>();
		return this.paramIdCondition;
	}
	
	/**
	 * 获取前端页面设置id查询条件
	 * 
	 * @return paramIdCondition 前端页面设置id查询条件
	 */
	public Condition<String> getParamIdCondition() {
		return paramIdCondition;
	}

	/**
	 * 设置前端页面设置id查询条件
	 * 
	 * @param paramIdCondition 前端页面设置id查询条件
	 */
	public void setParamIdCondition(Condition<String> paramIdCondition) {
		this.paramIdCondition = paramIdCondition;
	}

	/**
	 * 构造并返回商圈id查询条件
	 * 
	 * @return busdIdCondition 商圈id查询条件
	 */
	public Condition<String> busdId() {
		this.busdIdCondition = new Condition<>();
		return this.busdIdCondition;
	}
	
	/**
	 * 获取商圈id查询条件
	 * 
	 * @return busdIdCondition 商圈id查询条件
	 */
	public Condition<String> getBusdIdCondition() {
		return busdIdCondition;
	}

	/**
	 * 设置商圈id查询条件
	 * 
	 * @param busdIdCondition 商圈id查询条件
	 */
	public void setBusdIdCondition(Condition<String> busdIdCondition) {
		this.busdIdCondition = busdIdCondition;
	}

	/**
	 * 构造并返回会员卡模板设置id查询条件
	 * 
	 * @return templateSetIdCondition 会员卡模板设置id查询条件
	 */
	public Condition<String> templateSetId() {
		this.templateSetIdCondition = new Condition<>();
		return this.templateSetIdCondition;
	}
	
	/**
	 * 获取会员卡模板设置id查询条件
	 * 
	 * @return templateSetIdCondition 会员卡模板设置id查询条件
	 */
	public Condition<String> getTemplateSetIdCondition() {
		return templateSetIdCondition;
	}

	/**
	 * 设置会员卡模板设置id查询条件
	 * 
	 * @param templateSetIdCondition 会员卡模板设置id查询条件
	 */
	public void setTemplateSetIdCondition(Condition<String> templateSetIdCondition) {
		this.templateSetIdCondition = templateSetIdCondition;
	}

	/**
	 * 构造并返回会员卡等级设置id查询条件
	 * 
	 * @return templateGradeIdCondition 会员卡等级设置id查询条件
	 */
	public Condition<String> templateGradeId() {
		this.templateGradeIdCondition = new Condition<>();
		return this.templateGradeIdCondition;
	}
	
	/**
	 * 获取会员卡等级设置id查询条件
	 * 
	 * @return templateGradeIdCondition 会员卡等级设置id查询条件
	 */
	public Condition<String> getTemplateGradeIdCondition() {
		return templateGradeIdCondition;
	}

	/**
	 * 设置会员卡等级设置id查询条件
	 * 
	 * @param templateGradeIdCondition 会员卡等级设置id查询条件
	 */
	public void setTemplateGradeIdCondition(Condition<String> templateGradeIdCondition) {
		this.templateGradeIdCondition = templateGradeIdCondition;
	}

	/**
	 * 构造并返回[枚举]等级条件：1-线上消费金额-ONLINE_MONEY、2-最近消费次数-CONSUME_TIMES、3-线下积分-OFFLINE_SCORE、4-线下消费金额-OFFLINE_MONEY、5-线下最近消费次数-OFFLINE_TIMES、6-线上积分-ONLINE_SCORE查询条件
	 * 
	 * @return paramTypeCondition [枚举]等级条件：1-线上消费金额-ONLINE_MONEY、2-最近消费次数-CONSUME_TIMES、3-线下积分-OFFLINE_SCORE、4-线下消费金额-OFFLINE_MONEY、5-线下最近消费次数-OFFLINE_TIMES、6-线上积分-ONLINE_SCORE查询条件
	 */
	public Condition<TemplateGradeParamParamType> paramType() {
		this.paramTypeCondition = new Condition<>();
		return this.paramTypeCondition;
	}
	
	/**
	 * 获取[枚举]等级条件：1-线上消费金额-ONLINE_MONEY、2-最近消费次数-CONSUME_TIMES、3-线下积分-OFFLINE_SCORE、4-线下消费金额-OFFLINE_MONEY、5-线下最近消费次数-OFFLINE_TIMES、6-线上积分-ONLINE_SCORE查询条件
	 * 
	 * @return paramTypeCondition [枚举]等级条件：1-线上消费金额-ONLINE_MONEY、2-最近消费次数-CONSUME_TIMES、3-线下积分-OFFLINE_SCORE、4-线下消费金额-OFFLINE_MONEY、5-线下最近消费次数-OFFLINE_TIMES、6-线上积分-ONLINE_SCORE查询条件
	 */
	public Condition<TemplateGradeParamParamType> getParamTypeCondition() {
		return paramTypeCondition;
	}

	/**
	 * 设置[枚举]等级条件：1-线上消费金额-ONLINE_MONEY、2-最近消费次数-CONSUME_TIMES、3-线下积分-OFFLINE_SCORE、4-线下消费金额-OFFLINE_MONEY、5-线下最近消费次数-OFFLINE_TIMES、6-线上积分-ONLINE_SCORE查询条件
	 * 
	 * @param paramTypeCondition [枚举]等级条件：1-线上消费金额-ONLINE_MONEY、2-最近消费次数-CONSUME_TIMES、3-线下积分-OFFLINE_SCORE、4-线下消费金额-OFFLINE_MONEY、5-线下最近消费次数-OFFLINE_TIMES、6-线上积分-ONLINE_SCORE查询条件
	 */
	public void setParamTypeCondition(Condition<TemplateGradeParamParamType> paramTypeCondition) {
		this.paramTypeCondition = paramTypeCondition;
	}

	/**
	 * 构造并返回累计金额/次数/积分查询条件
	 * 
	 * @return amountCondition 累计金额/次数/积分查询条件
	 */
	public Condition<BigDecimal> amount() {
		this.amountCondition = new Condition<>();
		return this.amountCondition;
	}
	
	/**
	 * 获取累计金额/次数/积分查询条件
	 * 
	 * @return amountCondition 累计金额/次数/积分查询条件
	 */
	public Condition<BigDecimal> getAmountCondition() {
		return amountCondition;
	}

	/**
	 * 设置累计金额/次数/积分查询条件
	 * 
	 * @param amountCondition 累计金额/次数/积分查询条件
	 */
	public void setAmountCondition(Condition<BigDecimal> amountCondition) {
		this.amountCondition = amountCondition;
	}

	/**
	 * 构造并返回[枚举]时间精度：0-累计-ALL、1-年-YEAR、2-月-MONTH、3-日-DAY查询条件
	 * 
	 * @return timeAccuracyCondition [枚举]时间精度：0-累计-ALL、1-年-YEAR、2-月-MONTH、3-日-DAY查询条件
	 */
	public Condition<TemplateGradeParamTimeAccuracy> timeAccuracy() {
		this.timeAccuracyCondition = new Condition<>();
		return this.timeAccuracyCondition;
	}
	
	/**
	 * 获取[枚举]时间精度：0-累计-ALL、1-年-YEAR、2-月-MONTH、3-日-DAY查询条件
	 * 
	 * @return timeAccuracyCondition [枚举]时间精度：0-累计-ALL、1-年-YEAR、2-月-MONTH、3-日-DAY查询条件
	 */
	public Condition<TemplateGradeParamTimeAccuracy> getTimeAccuracyCondition() {
		return timeAccuracyCondition;
	}

	/**
	 * 设置[枚举]时间精度：0-累计-ALL、1-年-YEAR、2-月-MONTH、3-日-DAY查询条件
	 * 
	 * @param timeAccuracyCondition [枚举]时间精度：0-累计-ALL、1-年-YEAR、2-月-MONTH、3-日-DAY查询条件
	 */
	public void setTimeAccuracyCondition(Condition<TemplateGradeParamTimeAccuracy> timeAccuracyCondition) {
		this.timeAccuracyCondition = timeAccuracyCondition;
	}

	/**
	 * 构造并返回时间大小查询条件
	 * 
	 * @return timeSizeCondition 时间大小查询条件
	 */
	public Condition<Integer> timeSize() {
		this.timeSizeCondition = new Condition<>();
		return this.timeSizeCondition;
	}
	
	/**
	 * 获取时间大小查询条件
	 * 
	 * @return timeSizeCondition 时间大小查询条件
	 */
	public Condition<Integer> getTimeSizeCondition() {
		return timeSizeCondition;
	}

	/**
	 * 设置时间大小查询条件
	 * 
	 * @param timeSizeCondition 时间大小查询条件
	 */
	public void setTimeSizeCondition(Condition<Integer> timeSizeCondition) {
		this.timeSizeCondition = timeSizeCondition;
	}

	/**
	 * 构造并返回名称查询条件
	 * 
	 * @return nameCondition 名称查询条件
	 */
	public Condition<String> name() {
		this.nameCondition = new Condition<>();
		return this.nameCondition;
	}
	
	/**
	 * 获取名称查询条件
	 * 
	 * @return nameCondition 名称查询条件
	 */
	public Condition<String> getNameCondition() {
		return nameCondition;
	}

	/**
	 * 设置名称查询条件
	 * 
	 * @param nameCondition 名称查询条件
	 */
	public void setNameCondition(Condition<String> nameCondition) {
		this.nameCondition = nameCondition;
	}

	/**
	 * 构造并返回创建人id查询条件
	 * 
	 * @return createdByCondition 创建人id查询条件
	 */
	public Condition<String> createdBy() {
		this.createdByCondition = new Condition<>();
		return this.createdByCondition;
	}
	
	/**
	 * 获取创建人id查询条件
	 * 
	 * @return createdByCondition 创建人id查询条件
	 */
	public Condition<String> getCreatedByCondition() {
		return createdByCondition;
	}

	/**
	 * 设置创建人id查询条件
	 * 
	 * @param createdByCondition 创建人id查询条件
	 */
	public void setCreatedByCondition(Condition<String> createdByCondition) {
		this.createdByCondition = createdByCondition;
	}

	/**
	 * 构造并返回创建人查询条件
	 * 
	 * @return createdNameCondition 创建人查询条件
	 */
	public Condition<String> createdName() {
		this.createdNameCondition = new Condition<>();
		return this.createdNameCondition;
	}
	
	/**
	 * 获取创建人查询条件
	 * 
	 * @return createdNameCondition 创建人查询条件
	 */
	public Condition<String> getCreatedNameCondition() {
		return createdNameCondition;
	}

	/**
	 * 设置创建人查询条件
	 * 
	 * @param createdNameCondition 创建人查询条件
	 */
	public void setCreatedNameCondition(Condition<String> createdNameCondition) {
		this.createdNameCondition = createdNameCondition;
	}

	/**
	 * 构造并返回创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> createdTime() {
		this.createdTimeCondition = new Condition<>();
		return this.createdTimeCondition;
	}
	
	/**
	 * 获取创建时间查询条件
	 * 
	 * @return createdTimeCondition 创建时间查询条件
	 */
	public Condition<LocalDateTime> getCreatedTimeCondition() {
		return createdTimeCondition;
	}

	/**
	 * 设置创建时间查询条件
	 * 
	 * @param createdTimeCondition 创建时间查询条件
	 */
	public void setCreatedTimeCondition(Condition<LocalDateTime> createdTimeCondition) {
		this.createdTimeCondition = createdTimeCondition;
	}

	/**
	 * 构造并返回修改人id查询条件
	 * 
	 * @return modifyByCondition 修改人id查询条件
	 */
	public Condition<Long> modifyBy() {
		this.modifyByCondition = new Condition<>();
		return this.modifyByCondition;
	}
	
	/**
	 * 获取修改人id查询条件
	 * 
	 * @return modifyByCondition 修改人id查询条件
	 */
	public Condition<Long> getModifyByCondition() {
		return modifyByCondition;
	}

	/**
	 * 设置修改人id查询条件
	 * 
	 * @param modifyByCondition 修改人id查询条件
	 */
	public void setModifyByCondition(Condition<Long> modifyByCondition) {
		this.modifyByCondition = modifyByCondition;
	}

	/**
	 * 构造并返回修改人查询条件
	 * 
	 * @return modifyNameCondition 修改人查询条件
	 */
	public Condition<String> modifyName() {
		this.modifyNameCondition = new Condition<>();
		return this.modifyNameCondition;
	}
	
	/**
	 * 获取修改人查询条件
	 * 
	 * @return modifyNameCondition 修改人查询条件
	 */
	public Condition<String> getModifyNameCondition() {
		return modifyNameCondition;
	}

	/**
	 * 设置修改人查询条件
	 * 
	 * @param modifyNameCondition 修改人查询条件
	 */
	public void setModifyNameCondition(Condition<String> modifyNameCondition) {
		this.modifyNameCondition = modifyNameCondition;
	}

	/**
	 * 构造并返回修改时间查询条件
	 * 
	 * @return modifyTimeCondition 修改时间查询条件
	 */
	public Condition<LocalDateTime> modifyTime() {
		this.modifyTimeCondition = new Condition<>();
		return this.modifyTimeCondition;
	}
	
	/**
	 * 获取修改时间查询条件
	 * 
	 * @return modifyTimeCondition 修改时间查询条件
	 */
	public Condition<LocalDateTime> getModifyTimeCondition() {
		return modifyTimeCondition;
	}

	/**
	 * 设置修改时间查询条件
	 * 
	 * @param modifyTimeCondition 修改时间查询条件
	 */
	public void setModifyTimeCondition(Condition<LocalDateTime> modifyTimeCondition) {
		this.modifyTimeCondition = modifyTimeCondition;
	}

	/**
	 * 构造并返回是否删除：0-false-未删除、1-true-已删除查询条件
	 * 
	 * @return delCondition 是否删除：0-false-未删除、1-true-已删除查询条件
	 */
	public Condition<Integer> del() {
		this.delCondition = new Condition<>();
		return this.delCondition;
	}
	
	/**
	 * 获取是否删除：0-false-未删除、1-true-已删除查询条件
	 * 
	 * @return delCondition 是否删除：0-false-未删除、1-true-已删除查询条件
	 */
	public Condition<Integer> getDelCondition() {
		return delCondition;
	}

	/**
	 * 设置是否删除：0-false-未删除、1-true-已删除查询条件
	 * 
	 * @param delCondition 是否删除：0-false-未删除、1-true-已删除查询条件
	 */
	public void setDelCondition(Condition<Integer> delCondition) {
		this.delCondition = delCondition;
	}

	/**
	 * 构造并返回删除人ID查询条件
	 * 
	 * @return delByCondition 删除人ID查询条件
	 */
	public Condition<String> delBy() {
		this.delByCondition = new Condition<>();
		return this.delByCondition;
	}
	
	/**
	 * 获取删除人ID查询条件
	 * 
	 * @return delByCondition 删除人ID查询条件
	 */
	public Condition<String> getDelByCondition() {
		return delByCondition;
	}

	/**
	 * 设置删除人ID查询条件
	 * 
	 * @param delByCondition 删除人ID查询条件
	 */
	public void setDelByCondition(Condition<String> delByCondition) {
		this.delByCondition = delByCondition;
	}

	/**
	 * 构造并返回删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> delTime() {
		this.delTimeCondition = new Condition<>();
		return this.delTimeCondition;
	}
	
	/**
	 * 获取删除时间查询条件
	 * 
	 * @return delTimeCondition 删除时间查询条件
	 */
	public Condition<LocalDateTime> getDelTimeCondition() {
		return delTimeCondition;
	}

	/**
	 * 设置删除时间查询条件
	 * 
	 * @param delTimeCondition 删除时间查询条件
	 */
	public void setDelTimeCondition(Condition<LocalDateTime> delTimeCondition) {
		this.delTimeCondition = delTimeCondition;
	}

}
